package com.example.familylibrary.service;

import com.example.familylibrary.dto.ReadingProgressDTO;
import java.util.List;

public interface ReadingProgressService {
    ReadingProgressDTO createOrUpdateProgress(ReadingProgressDTO readingProgressDTO);
    ReadingProgressDTO getProgressByUserAndBook(Long userId, Long bookId);
    List<ReadingProgressDTO> getProgressByUserId(Long userId);
    List<ReadingProgressDTO> getProgressByBookId(Long bookId);
    ReadingProgressDTO updateProgressStatus(Long id, Integer status);
}